<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div contenteditable id="sample">
<div>
<br/>
<blockquote id="sample" type="cite">green</blockquote>
</div>
</div>
<div id="log"></div>
<script>
test(function() {
    window.getSelection().collapse(document.querySelector('blockquote'), 0);
    document.execCommand("Delete");
    var sample = document.getElementById('sample');
    sample.textContent = 'foo';
    document.execCommand("InsertNewlineInQuotedContent");
}, 'InsertNewlineInQuotedContent should not use obsolete selection');
</script>
